﻿using com.guojin.core.io.message;
using com.guojin.core.io;

namespace com.guojin.mj.net.message.login
{
    public class VerificationCodeRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 147;

        public int result;//1验证码正确   2 验证码错误
        public string phone;
        public void decode(core.io.Input _in)
        {
            result = _in.readInt();
            phone = _in.readString();
        }
        public void encode(Output _out)
        {

        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "result"+ result;
        }
    }
}
